package com.ruoyi.source.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.source.api.domain.SrcLogistics;

import java.util.List;
/**
 * 物流记录Service接口
 * 
 * @author ruoyi
 * @date 2024-07-23
 */
public interface ISrcLogisticsService extends IService<SrcLogistics> {
    /**
     * 查询物流记录
     * 
     * @param logisticsId 物流记录主键
     * @return 物流记录
     */
    public SrcLogistics selectSrcLogisticsByLogisticsId(Long logisticsId);

    /**
     * 查询物流记录列表
     * 
     * @param srcLogistics 物流记录
     * @return 物流记录集合
     */
    public List<SrcLogistics> selectSrcLogisticsList(SrcLogistics srcLogistics);

    /**
     * 新增物流记录
     * 
     * @param srcLogistics 物流记录
     * @return 结果
     */
    public int insertSrcLogistics(SrcLogistics srcLogistics);

    /**
     * 修改物流记录
     * 
     * @param srcLogistics 物流记录
     * @return 结果
     */
    public int updateSrcLogistics(SrcLogistics srcLogistics);

    /**
     * 批量删除物流记录
     * 
     * @param logisticsIds 需要删除的物流记录主键集合
     * @return 结果
     */
    public int deleteSrcLogisticsByLogisticsIds(Long[] logisticsIds);

    /**
     * 删除物流记录信息
     * 
     * @param logisticsId 物流记录主键
     * @return 结果
     */
    public int deleteSrcLogisticsByLogisticsId(Long logisticsId);
}
